home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / comm / msg10.sit / MSG Read Me < prev    next >
Encoding:
Text File  |  1989-12-05  |  3.3 KB  |  83 lines  |  [TEXT/ttxt]

  1. MSG is a Mac Workstation exec to watch incomming and outgoing Mac Workstation
  2. message traffic.  It also lets messages be sent to the control host or
  3. mac workstation for test purposes
  4.  
  5. MSG was written by Aaron Wohl a Carnegie Mellon University employee
  6. while atending the Apple MacWorkstation class.  It is not warentied or
  7. guarentied.  No body assumes any liabilty for it.  Apple has not
  8. taken any position conerning its use and is not connected with it
  9. in any way.
  10.  
  11. Installation:
  12. Run RESEDIT copy the resource "CMU Message Watcher" from MSG.EXEC
  13. Paste it into the desired mac workstation document or macworkstation itself
  14.  
  15. Startup:
  16. To see all of the messages sent and recieved MSG needs to be loaded
  17. before any other exec (particuarly Event Hander or Event Player).
  18. This is typicaly done by adding the line:
  19. Exec 200
  20. To a startup ccl logon script before loading a
  21. transport to invoke MSG.
  22.  
  23. You may WANT to load it after some other execs are loaded to reduce the
  24. clutter displayed.  In this case don't load it in startup script but
  25. later load it with something like X001 3;200
  26.  
  27. Use:
  28. Mostly you just read the message window to see what is going on.  You may copy
  29. messages out of the window to paste them into code you are constructing.
  30.  
  31. You can
  32. paste into a msg window in order to transmit a message.  Cmd-V (paste) will
  33. transmit the data in the scrap into mac workstation as though it had
  34. been recieved by mws from your host.  If the shift key is down when pasting
  35. the scrap will be transmited to your host as though mws had sent it.
  36. Paste is used during debugging to try sending a message one time.
  37.  
  38. Cmd-H will display this help text:
  39.  ! CMU Mac Workstation message watcher
  40.  ! by Aaron Wohl, aw0g+@andrew.cmu.edu (412)268-5032
  41.  ! cmd-c       => copy to clip board stripping leading '<' and '>'
  42.  ! cmd-c-shift => copy to clip don't strip leading '<' and '>'
  43.  ! cmd-v       => Paste to local macworktation
  44.  ! cmd-v-shift => Paste to server host
  45.  ! cmd-h       => This help message
  46.  ! start me in ccl logon script to see all messages eg 'Exec 200
  47.  
  48. MSG processes the command keys itself.  Thus it will function before the standard menu
  49. is installed.
  50.  
  51. *************************
  52. Below this point we discuss the MSG sources and rebuilding from source.  If you
  53. only want to use MSG and not change it you need read no further.
  54.  
  55. MSG is built using THINK c v.4.0
  56.  
  57. Here is how to set up the project file to build.  Note:a project
  58. file is sent with the sources so this is only needed to start from
  59. scratch.
  60. The project type must be code resource
  61. Check the box for custom header in the project type
  62. The resource type should be MWSX
  63. The resource ID can be anything, 200 is recomended.
  64. Note:ID 0 is special and is loaded automaticaly by mws when a connect
  65. happens.  Apple's Event Handler/Event player are ID 0, so don't use that
  66. number unless you don't use them.
  67. Multi segment should not be set
  68. Resource atributes:locked
  69. File Type and file creator are not important
  70.  
  71. Debugging tip:While doing development compile directly into a mac workstation
  72. document by setting the merge check box on the build code resource dialog.
  73. Obviously the document shouldn't be open by mws at the time.
  74.  
  75. Created 12:45:39 AM  10/26/89 by Aaron Wohl, aw0g+@andrew.cmu.edu
  76.  Aaron Wohl
  77.  6393 Penn Ave #303
  78.  Pittsburgh PA,15206
  79.  home:(412)731-6159
  80.  work:(412)268-5032
  81.  Do what you will with it
  82.  Probably needs LightspeedC 4.0, haven't tried 3.xx
  83.